#ifndef QUADRIC_HH
# define QUADRIC_HH

# include "object.hh"

# include <GL/glew.h>

class Quadric: public Object
{
public:
  enum Type {Sphere, Cylinder, Disk, PartialDisk };

  Quadric (const Vector3f& pos, const Vector3d& rotate, Bounding* bounding, Type t);

  virtual void dispatch () const;

protected:
  GLUquadric* quadric_;
  Type type_;
};


#endif /// !QUADRIC_HH
